// Author: wsfuyibing <682805@qq.com>
// Date: 2025-06-23

package order

import (
	"gitee.com/go-wares/framework-iris/framework/src/logics"
	"github.com/kataras/iris/v12"
	"server/app/http/logics/master/order/detail"
	"server/app/http/logics/master/order/list"
	"server/app/http/logics/master/order/logs"
	"server/app/http/logics/master/order/update/pay_offline"
)

// Controller
// 钓场管理员.
//
// @Middleware("authorizer")
// @Middleware("master")
type Controller struct{}

// GetDetail
// 订单详情.
func (o *Controller) GetDetail(i iris.Context) {
	logics.Do(i, detail.New)
}

// GetList
// 订单列表.
func (o *Controller) GetList(i iris.Context) {
	logics.Do(i, list.New)
}

// GetLogs
// 订单日志.
func (o *Controller) GetLogs(i iris.Context) {
	logics.Do(i, logs.New)
}

// PostUpdatePayOffline
// 设为线下支付.
func (o *Controller) PostUpdatePayOffline(i iris.Context) {
	logics.Do(i, pay_offline.New)
}
